//
//  SecondViewController.m
//  UI10_TableView__homework
//
//  Created by 洛洛大人 on 16/6/17.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "SecondViewController.h"

@interface SecondViewController ()

@end

@implementation SecondViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self creatSubView];
    
}


-(void)creatSubView {
    
    UILabel *nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(70, 280, 100, 50)];
    //    label.backgroundColor = [UIColor grayColor];
    [self.view addSubview:nameLabel];
    nameLabel.text = @"姓名:";
    nameLabel.font = [UIFont systemFontOfSize:20.0];
    
    [nameLabel release];
    
    UILabel *QQLabel = [[UILabel alloc]initWithFrame:CGRectMake(70, 350, 100, 50)];
    [self.view addSubview:QQLabel];
    QQLabel.text = @"QQ:";
    QQLabel.font = [UIFont systemFontOfSize:20.0];
    [QQLabel release];
    
    UILabel *numberLabel = [[UILabel alloc]initWithFrame:CGRectMake(70, 420, 100, 50)];
    [self.view addSubview:numberLabel];
    numberLabel.text = @"电话号码:";
    numberLabel.font = [UIFont systemFontOfSize:20.0];
    [numberLabel release];
    
    
    
    
    
    
    
    
    
    
    
}

@end
